package com.d0323;

import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;

public class FileWriteTest {
    public static void main(String[] args) throws IOException {
        FileWriter fw=new FileWriter(new File("src/com/d0323/WriteData.txt"));
        BufferedWriter bw = new BufferedWriter(fw);
            bw.write("hello icss");
            bw.close();
            fw.close();

    }
}
